"""pickle dump,load 数据"""
import pickle
import headfirst.modular.neter

man = []
other = []
try:
    # with open("mydata.pickle", "wb") as datasavefile:
    #     pickle.dump([1, 2, 'pickle'], datasavefile)
    # with open("mydata.pickle", "rb") as mydata:
    #     a_list = pickle.load(mydata)

    # print(a_list)

    with open("E:/man.txt") as man_file, open("E:/other.txt") as other_file:
        man = pickle.load(man_file)
        other = pickle.load(other_file)

    print(man)
    print(other)

except IOError as err:
    print("IO ERROR" + str(err))



